package cn.opopopo.design_pattern_learn.行为型.strategy;

// 会员：9折
public class MemberDiscountStrategy implements DiscountStrategy {
    @Override
    public double applyDiscount(double price) {
        System.out.println("应用会员9折优惠...");
        return price * 0.9;
    }
}